﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MoneyWentWhere.Utils.Storage
{
    /// <summary>
    /// Data about file storage, goes along with the document
    /// </summary>
    public class FileStorageInfo
    {
        /// <summary>
        /// Filename, null if none.
        /// </summary>
        public String Filename { get; set; }

        /// <summary>
        /// Password to the file, null if none.
        /// </summary>
        public String Password { get; set; }

        /// <summary>
        /// Data format -- should be IDataFormat<DocT>
        /// but avoid the generic document type. 
        /// </summary>
        public object DataFormat { get; set; }
        
        /// <summary>
        /// Extra file data, can be used to store
        /// the opened file stream.
        /// </summary>
        public object ExtraFileInfo { get; set; }
    }

}
